using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using ViCode_LeVi.Data;

namespace ViCode_LeVi.Reports
{
    public partial class Report_MarkettingPlan_Comment : DevExpress.XtraReports.UI.XtraReport
    {
        public Report_MarkettingPlan_Comment()
        {
            InitializeComponent();
            CreateReport();
        }

        public void CreateReport()
        {
            var index = RootData.Intance.Report_Marketing_Index;
            this.ampelControlBusinessModelCommentary.Result = RootData.Intance.Steps[index].Result;
            this.cellBusinessModelCommentary.Text = RootData.Intance.Steps[index].Result.Note;

            xrTableCell25.Text = RootData.Intance.Report_Marketing;
            xrTableCell40.Text = RootData.Intance.Report_Marketing_Comment;
        }
    }
}
